package com.zkyc.framework.common.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zkyc.framework.common.pojo.ContentRefMediatag;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author bing.bai
 * @create 2022/6/14
 */
@Mapper
public interface ContentRefMediatagMapper extends BaseMapper<ContentRefMediatag> {
    @Select("select media_tag_id from web_content_ref_mediatag where content_id = #{contentId}")
    List<Integer> queryTagIdList(Integer contentId);
}
